package com.eight.cloud.admin.mapper;

import com.eight.cloud.admin.entity.RolePermissionEntity;
import com.eight.cloud.mybatisplus.mapper.SuperMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色-权限表 Mapper 接口
 * </p>
 *
 * @author TXC
 * @since 2024-10-02
 */
public interface RolePermissionMapper extends SuperMapper<RolePermissionEntity> {
    void delExcludePermission(@Param("permissionCodes") List<String> permissionCodes);

    /**
     * 清理表
     */
    void truncate();
}
